#ifndef MAINWINDOW_H
#define MAINWINDOW_H

#include <QMainWindow>
#include <QListWidget>
#include <QPainter>
#include <QSystemTrayIcon>

//#include "permanentcard.h"
#include "cardpool.h"
#include "reservedwords.h"
#include "formnewcard.h"

namespace Ui {
    class MainWindow;
}

class MainWindow : public QMainWindow
{
    Q_OBJECT

public:
    explicit MainWindow(QWidget *parent = 0);
    ~MainWindow();
    void LoadPoolFromFile();

private:
    Ui::MainWindow *ui;        

    void connectAll2All();
//    void ShowCreatureProperties(bool );

    CardPool *m_DefaultPool;
    QSystemTrayIcon *trayIcon;

public slots:    

    void listviewCardListDoubleClicked(QModelIndex);

    void btnSavePoolClicked();
    void btnRemoveCardFromPoolClicked();
    void btnAddCardToPoolClicked();

    void aboutQT();
};

#endif // MAINWINDOW_H
